package com.cwh.taskcenter.task.api;

import com.alibaba.cola.dto.PageResponse;
import com.alibaba.cola.dto.Response;
import com.cwh.taskcenter.task.TaskAddCmd;
import com.cwh.taskcenter.task.TaskEventReportCmd;
import com.cwh.taskcenter.task.TaskReceiveCmd;
import com.cwh.taskcenter.task.dto.data.TaskDTO;
import com.cwh.taskcenter.task.dto.data.TaskPageVO;
import com.cwh.taskcenter.task.dto.event.UserBehaviorEvent;
import com.cwh.taskcenter.task.dto.query.TaskListByPageQry;

/**
 * @author cwh
 */
public interface TaskServiceI {

    Response addTask(TaskAddCmd request);

    Response receive(TaskReceiveCmd request);

    Response eventReport(TaskEventReportCmd cmd);

    Response handleEvent(UserBehaviorEvent event);

    PageResponse<TaskPageVO> pageTask(TaskListByPageQry qry);
}
